package com.gmail.jaredjeya.awesomeplatformer.model.tiles;

import com.gmail.jaredjeya.awesomeplatformer.model.sprites.Sprite;

public abstract class Tile {
	
	public static Tile blue = new BlueTile(Sprite.blueSprite);
	public static Tile red = new RedTile(Sprite.redSprite);
	public static Tile bg = new BackgroundTile(Sprite.blackSprite);
	public static Tile goal = new BackgroundTile(Sprite.greenSprite);
	
	protected Sprite sprite;
	
	public Tile(Sprite sprite) {
		this.sprite = sprite;
	}
	
	public Sprite getSprite() {
		return sprite;
	}

	public abstract boolean isSolid();
	
	public abstract boolean isDamaging();
}
